import './style.css';

import { Errors, Performance } from '@lao/browser';
import { attachErrorHandler, init } from '@lao/vue';
import { createApp } from 'vue';

import App from './App.vue';

init({
  dsn: '123',
  integrations: [new Errors(), new Performance('http://127.0.0.1:8080')]
});
const app = createApp(App);
// app.config.errorHandler = (err, instance, info) => {
//   console.log('Vue 捕获到错误:', err, '----------', info);
// };
attachErrorHandler(app);
app.mount('#app');
